# coding=utf-8
# 习题17：读写更多文件
# 命令python exercise_17.py exercise_15.txt
'''
Created on 2015年6月10日

@author: Doris
'''
#导入sys模块的argv
from sys import argv

scripte,filename,to_file = argv

print "Cope %r to %r"%(filename,to_file)

context = open(filename).read()

print context
open(to_file,'w').write(context)
open(to_file,'w').close()
open(filename).close()









